﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JiuQianTSHZ.aspx.cs" Inherits="Web.Pages.YongShui.JiuQianTSHZ" Theme="Default" %>
<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel ID="updatePanel1" runat="server">
            <ContentTemplate>
                <div style="margin: auto; width: 98%">
                    <div class="tabletitle1" align="center">
                        旧欠托收汇总
                    </div>
                    <table>
                        <tr>
                            <td>区块：</td>
                            <td>
                                <dx:ASPxComboBox ID="cmbconGuanlik" ClientInstanceName="cmbconGuanlik" runat="server" ValueType="System.String" AutoPostBack="true" OnSelectedIndexChanged="cmbconGuanlik_SelectedIndexChanged" Width="80px">
                                </dx:ASPxComboBox>
                            </td>
                        </tr>
                    </table>
                    <dx:ASPxPageControl ID="ASPxPageControl1" runat="server" ActiveTabIndex="0" Width="98%">
                        <TabPages>
                            <dx:TabPage Text="汇总">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <dx:ASPxGridView ID="gvList1" runat="server" AutoGenerateColumns="False" KeyFieldName="S_GUANLIKH" Theme="Aqua1" Width="100%">
                                            <Columns>
                                                <dx:GridViewDataTextColumn FieldName="S_GUANLIKMC" Caption="区块" Width="20%">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_ZONGBIS" Caption="现金笔数" Width="40%">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_ZONGJINE" Caption="现金金额" Width="40%">
                                                </dx:GridViewDataTextColumn>
                                            </Columns>
                                            <Settings VerticalScrollableHeight="480" VerticalScrollBarMode="Auto" />
                                        </dx:ASPxGridView>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="明细">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <table>
                                            <tr>
                                                <td>
                                                    <dx:ASPxTextBox ID="txtconYonghuh" runat="server" Width="100px">
                                                        <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;
                                        if( key==13){$('#btnConGoto').click();}}" />
                                                    </dx:ASPxTextBox>
                                                </td>
                                                <td>
                                                    <dx:ASPxButton ID="btnConGoto" runat="server" Text="定位" UseSubmitBehavior="false" OnClick="btnConGoto_Click"></dx:ASPxButton>
                                                </td>
                                            </tr>
                                        </table>
                                        <div style="height: 1px"></div>
                                        <dx:ASPxGridView ID="gvList2" runat="server" AutoGenerateColumns="False" KeyFieldName="S_GUANLIKH" Theme="Aqua1" Width="100%">
                                            <Columns>
                                                <dx:GridViewDataTextColumn FieldName="S_GUANLIKMC" Caption="区块" Width="80px">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="80px">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="250px">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_YM" Caption="年月" Width="60px" CellStyle-HorizontalAlign="Center">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_JINE" Caption="金额" Width="80px">
                                                    </dx:GridViewDataTextColumn>
                                            </Columns>
                                            <Settings VerticalScrollableHeight="480" VerticalScrollBarMode="Auto" />
                                        </dx:ASPxGridView>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                        </TabPages>
                    </dx:ASPxPageControl>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>




                                            